I know this forum is essentially for Umbraco bugs but I didn't know where else to put it.
I'm using the latest version of Chrome and noticed a bug with the Member Locator tool at http://our.umbraco.org/people/member-locator. My name has an apostrophe which causes a syntax error in the javascript and not show the map. It seems the backend code is creating the Javascript variables without HTML encoding the inputs (alternatively use double quotes on the variables). It creates the variable like so:
varumb_member_name = 'Pat O'Callaghan';
The apostrophe causes the syntax error as the enclosing quotes are also single quotes.
[Our.Umbraco.org] Member Locator JS syntax bug
I know this forum is essentially for Umbraco bugs but I didn't know where else to put it.
I'm using the latest version of Chrome and noticed a bug with the Member Locator tool at http://our.umbraco.org/people/member-locator. My name has an apostrophe which causes a syntax error in the javascript and not show the map. It seems the backend code is creating the Javascript variables without HTML encoding the inputs (alternatively use double quotes on the variables). It creates the variable like so:
var umb_member_name = 'Pat O'Callaghan';
The apostrophe causes the syntax error as the enclosing quotes are also single quotes.
is working on a reply...